package com.baor.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.text.SimpleDateFormat;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("t_teacher")
public class TeacherVo {

    @TableId(type = IdType.AUTO)//设置id自增长
    private Integer teacherId;
    private String teacherName;
    @TableField(exist = false)
    private String subjectId;
    private String teacherTel;
    private Integer delflag;
    private Integer teacherAge;
    private String teacherSex;
    private String teacherPosition;
    @TableField(exist = false)
    private List<Integer> classId;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(exist = false)
    private String roleId;
    private String userAccount;
    @TableField(exist = false)
    private String userPassword;
    @TableField(exist = false)
    private String className;

}
